package be.dch.csv.mapper;

import java.util.Map;

import be.dch.typeditor.domain.Line;

public class LineMapper implements FieldSetMapper<Line> {

    public Object mapLine(final Map<String, Object> fieldSet) {
	final Line line = new Line();
	line.setI18nkey((String) fieldSet.get("i18nkey"));
	line.setType((String) fieldSet.get("type"));
	line.setSubType((String) fieldSet.get("subType"));
	return line;
    }

}
